<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Buser_id')}:</label>
        <div class="col-xs-12 col-sm-8">
                <input id="c-allot_id" data-rule="required" data-source="crm/buserfolloe/allot_user" data-field="username" class="form-control selectpage" name="row[allot_id]" type="text" value="{$row.allot_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Instructions')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-instructions" data-rule="required" class="form-control" name="row[instructions]" type="text" value="{$row.instructions}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sectionimages')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-sectionimages" data-rule="" class="form-control" size="50" name="row[sectionimages]" type="text" value="{$row.sectionimages}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-sectionimages" class="btn btn-danger plupload" data-input-id="c-sectionimages" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-sectionimages"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-sectionimages" class="btn btn-primary fachoose" data-input-id="c-sectionimages" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-sectionimages"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-sectionimages"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cooperationfiles')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-cooperationfiles" data-rule="" class="form-control" size="50" name="row[cooperationfiles]" type="text" value="{$row.cooperationfiles}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-cooperationfiles" class="btn btn-danger plupload" data-input-id="c-cooperationfiles" data-multiple="true" data-preview-id="p-cooperationfiles"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-cooperationfiles" class="btn btn-primary fachoose" data-input-id="c-cooperationfiles" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-cooperationfiles"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-cooperationfiles"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sectionlist')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-sectionlist" data-rule="required" class="form-control selectpicker" name="row[sectionlist]">
                {foreach name="sectionlistList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.sectionlist"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
   <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Currentlist')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-currentlist" data-rule="required" class="form-control selectpicker" name="row[currentlist]">
                {foreach name="currentlistList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.currentlist"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>-->
    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Auditmsg')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-auditmsg" data-rule="required" class="form-control" name="row[auditmsg]" type="text" value="{$row.auditmsg}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Adminname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-adminname" data-rule="required" class="form-control" name="row[adminname]" type="text" value="{$row.adminname}">
        </div>
    </div>-->
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
